﻿using AnlianCommon.Common.DTO;
using MediatR;

namespace AnlianCommon.API.Commands.Startofseasons
{
    public class StartofseasonCreateCommand: IRequest<Result>
    {
        /// <summary>
        /// 单据号
        /// </summary>
        public string? Document { get; set; }
        /// <summary>
        /// 期初日期
        /// </summary>
        public DateTime? Openingdate { get; set; }
        /// <summary>
        /// 耳号
        /// </summary>
        public string? Auricle { get; set; }
        /// <summary>
        /// 栋舍
        /// </summary>
        public int? CottageId { get; set; }
        /// <summary>
        /// 栏位
        /// </summary>
        public int? Field { get; set; }
        /// <summary>
        /// 重量（公斤）
        /// </summary>
        public decimal? Weight { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; }
        /// <summary>
        /// 只数
        /// </summary>
        public int? Elements { get; set; }
        /// <summary>
        /// 羊只类型(0公羊，1母羊，2后裔)
        /// </summary>
        public int? SeasonType { get; set; }

    }
}
